<%- include('common/header') %>
    
    <div class="container">
        <%- include('common/nav')%>
          
          <table class="table table-hover">
            <thead>
              <tr>
                <th>id</th>
                <th>标题</th>
                <th>操作</th>
              </tr>
            </thead>
            <tbody>
              <% for(let i = 0; i < data.length; i++){ %>
              <tr>
                <td><%= data[i].id%></td>
                <td> <a href="/content/<%=data[i].id%>"><%= data[i].title%></a></td>
                <td></td>
              </tr>
              <% } %>
            </tbody>
          </table>
          
    </div>
    <script src="/js/jquery.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>
</body>
</html>